package trlygjj.tanruiliyigenjinjin.mapper;

import trlygjj.tanruiliyigenjinjin.domain.Home;

import java.util.List;

public interface HomeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Home record);

    Home selectByPrimaryKey(Long id);

    List<Home> selectAll();

    int updateByPrimaryKey(Home record);
    List<Home> selectByEmployeeId(Long employeeId);

    void deleteByEmployeeId(Long employeeId);
}